﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FinalProject.Entities;
using FinalProject.Data.Search;

namespace FinalProject.Services.Interfaces
{
    public interface IUserRoleService
    {
        PagedListResult<UserRole> GetAll();
        UserRole GetById(int id);
        void Create(UserRole entity);
        void Update(UserRole entity);
        void Delete(int id);
        void Save();

        List<UserRole> GetAllRolesWithId(List<UserRole> newRoles);
    }
}
